﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mds.ServiceInterface
{
    public class MdsConfiguration
    {
        public Guid Id { set; get; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get;

            set;

        }
        /// <summary>
        /// 版本号
        /// </summary>
        public int Version
        {
            get;

            set;
        }
        /// <summary>
        /// 配置文件内容
        /// </summary>
        public string Content
        {
            get;

            set;
        }
        /// <summary>
        /// 服务id
        /// </summary>
        public Guid ServiceId
        {
            get;

            set;
        }
        /// <summary>
        /// 对应服务名
        /// </summary>
        public String ServiceName
        {
            set;
            get;
        }
        /// <summary>
        /// 保存文件名
        /// </summary>
        public String FileName {
            get { return this.ServiceName; }
        }
        /// <summary>
        /// 是否启用
        /// </summary>
        public Boolean Enable { 
            set; 
            get; 
        }
        /// <summary>
        /// 所属的解决方案id
        /// </summary>
        public Guid SolutionId
        {
            set;
            get;
        }
        /// <summary>
        /// 使用配置的程序id
        /// </summary>
        public Guid AppclationId { 
            set; get; 
        }
    }
}
